/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.magri.aula1.exercicio3;

/**
 *
 * @author Magri
 */
public class Spool {

    Impressora impressora1;
    public Spool() {
        impressora1 = new Impressora();
    }
    
    public void imprimir() {
        impressora1.statusNumeroPaginasImpressas();
        impressora1.imprimePagina(2, "texto");
        impressora1.statusNumeroPaginasImpressas();
        impressora1.imprimePagina(10, "grafica");
        impressora1.statusNumeroPaginasImpressas();
    }
    
    public static void main(String[] args) {
        Spool spool = new Spool();
        
        
        spool.imprimir();
    }
}
